<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>物业缴费</title>
    <style>
        body{
            margin: 0;
            background-color: #eee;
        }
        header{
            background-color: white;
            padding: 10px ; 
        }

        .chunk{
            width: 80%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: white;
            margin: 20px auto;
            padding: 10px 15px;
            border-radius: 5px;
        }
        .head-portrait{
            width: 50px;
            height: 50px;
            border-radius: 50%;
        }
        .chunk-left{
            display: flex;
        }
        .name-time{
            /* display: inline-block; */
            margin-left: 5px;
        }
        .name-time div{
            margin: 3px 0;
        }
        .seek{
            width: 97%;
            padding: 5px;
            border: solid 1px rgb(133, 129, 129);
        }
        .chunk-room-left {
            width: 35%;
        }

        .chunk-room-right {
            width: 70%;
            display: flex;
            justify-content: space-between;
            color: rgb(174, 175, 175);
        }
         .confirmBtn {
            width: 100%;
            height: 40px;
            line-height: 40px;
            background-color: #1E90FF;
            text-align: center;
            margin: 30px auto;
            color: white;
            border-radius: 10px;
        }
    </style>
</head>
<body>
    <form  id="form1">
    <main>
        <div class="chunk"  style="margin-top:50px">
            <div class="chunk-room-left">小区</div>
            <div class="chunk-room-right">
                {$userinfo.community_name}
            </div>
        </div>
        <div class="chunk" >
            <div class="chunk-room-left">房屋</div>
            <div class="chunk-room-right">
                {$userinfo.room_address}
            </div>
        </div>
        {volist name="billlist" id="vo"}
        <div class="chunk">
            <div class="chunk-left">
                
                <div class="name-time">
                    <div> <input type="checkbox" name="billid[{$vo.id}]" value="{$vo.id}" onclick="moneysum()"/>{$vo.cost_type}</div>
                </div>
            </div>
                <input type="hidden" value="{$vo.bill_entry_amount}" name="ordermoney[]"/>
            <div>
                ￥<span style="color:red">{$vo.bill_entry_amount}</span>
            </div>
        </div>
        {/volist}
         <input type="hidden" name="point" value="{$roominfo.point}"/>
        {if $roominfo.point>0} 
        <div class="chunk">
            <div class="chunk-left">
                
                <div class="name-time">
                    <div> 可用积分</div>
                </div>
            </div>
            <div>

                {$roominfo.point}&nbsp;&nbsp;&nbsp;<input type="checkbox" name="point_status" value="1"   onclick="moneysum()"/>是否使用积分
            </div>
        </div>
        {/if}
        <div class="chunk">
            <div class="chunk-left">
                
                <div class="name-time">
                    <div>实付金额</div>
                </div>
            </div>
            <div style="color:red">
                ￥<span id="ordermoney">0</span>
            </div>
        </div>
       
    </main>
    </form>
</body>
</html>

